• Image placeholder
  • 홈 페이지
  • 블로그 센터
  • 범주
Image placeholder

Bean Validator

[spring] 스프링이 지원하는 Bean Validator 기능 사용 방법

이 글은 스프링을 이용해 애노테이션으로 검증 로직을 구현할 수 있는 Bean Validation 기능을 사용하는 방법을 학습하고, 정리한 포스팅이다. 아래 코드는 Bean Validator이 적용된 예제이다. /validation/v3/items/add URL POST 요청을 맵핑하는 addItem()를 보면 @Validated가 적용되어 있다. Bean Validator를 사용하려면 bui...

SpringTILBean ValidatorBean Validator

© 2022 intrepidgeeks.com

Privacy Policy Contact US Sitemap
🍪 This website uses cookies to ensure you get the best experience on our website. Learn more